Skip to content

Conversation

gitducheng
Copy link

fix: not mounted on DragStart.

@sibartlett
Copy link

Can we get this merged and released?

@Villadshammershoi
Copy link

Considering the simplicity of this fix, how come it's not merged yet?

@rsshilli
Copy link

rsshilli commented May 1, 2025

I worked around this problem (in my React class, not function) by changing code that looked like this:

<Draggable nodeRef={this.myRef}>
  <div className="quick-panel-left-border" ref={(thisDiv) => (this.myRef = thisDiv)}>
   ...
  </div>
</Draggable>

to this:

<Draggable nodeRef={this.myRef}>
  <div className="quick-panel-left-border" ref={this.myRef}>
   ...
  </div>
</Draggable>

I just changed the ref={} function. I don't know why that would make a difference, but it did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants